package com.qmth.stmms.commons.domain.vo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.MappedSuperclass;

/**
 * 成绩值对象
 * @author zhengmin
 *
 */
@MappedSuperclass
public abstract class AbstractScore implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Column(name="total_score")
	private double totalScore;

	public double getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(double totalScore) {
		this.totalScore = totalScore;
	}
	
	
	/**
	 * 分数是否合法
	 * @return
	 */
	public abstract boolean isValid();
}
